package com.kaibes.platform.currency.pojo;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

import com.kaibes.core.base.annotation.Description;

import lombok.Data;

@Data
@Description("货币汇率")
public class CurrencyExchangeUpdate {

    @Description("兑换货币数量")
    @NotNull(message = "原始货币数量不能为空")
    @Min(value = 1, message = "目标货币数量不能小于0")
    private Integer change;
    
}
